import Vue from "vue";
import App from "./App.vue";
import router from './router'
import store from './store'
import {loading,borderBox12,digitalFlop,capsuleChart,borderBox7} from '@jiaminghi/data-view'
import { 
	Radio,
	Button,
	RadioGroup,
	Table,
	TableColumn,
	Statistic
} from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import Echart from './components/echart/index.vue'

// import Reacquire from './components/reacquire/reacquire.vue'

import "@/assets/css/index.scss"

require('@/mock/index.js')//是否使用mock
Vue.config.productionTip = false;

// 自定义组件
Vue.component("Echart",Echart)
// Vue.component("Reacquire",Reacquire)
 import infiniteScroll from "vue-infinite-scroll";
 Vue.use(infiniteScroll);


// element组件
Vue.use(Radio);
Vue.use(Button);
Vue.use(RadioGroup)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Statistic)

// datav组件
Vue.use(loading)
Vue.use(borderBox12)
Vue.use(borderBox7)
Vue.use(digitalFlop)
Vue.use(capsuleChart)
// Vue.use(scrollBoard)

// Ruoyi框架 使用参数
import { getConfigKey } from "@/api/system/config";
Vue.prototype.getConfigKey = getConfigKey

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");